import java.util.*;


public class League {
	private String LeagueName;
	private Map<Integer, Team> League = new HashMap<Integer, Team>();
	
	// Constructors
	public League () {
		
	}
	
	public League (String Lname) {
		LeagueName = Lname;
	}
		
	// Set Name method
	public void SetLeagueName(String Lname){
		LeagueName = Lname;
	}
	
	// Add a team into the league
	public void AddMember (Integer rank, Team L) {
		League.put(rank, L);
	}
	
	// Remove a team from the league
	public void RemoveMember (Integer rank) {
		League.remove(rank);
	}
	
	// Get a member from the league
	public Team GetMember (int rank) {
		return League.get(rank);
	}
	
	public int GetLeagueSize() {
		return League.size();
	}
	
	public String GetLeagueName() {
		return LeagueName;
	}
}
